3.1.94 \(\int \frac {(a+b \log (c x^n)) \log (d (e+f x^2)^m)}{x^5} \, dx\) [94]

Optimal. Leaf size=248 \[ -\frac {3 b f m n}{16 e x^2}-\frac {b f^2 m n \log (x)}{8 e^2}+\frac {b f^2 m n \log ^2(x)}{4 e^2}-\frac {f m \left (a+b \log \left (c x^n\right )\right )}{4 e x^2}-\frac {f^2 m \log (x) \left (a+b \log \left (c x^n\right )\right )}{2 e^2}+\frac {b f^2 m n \log \left (e+f x^2\right )}{16 e^2}-\frac {b f^2 m n \log \left (-\frac {f x^2}{e}\right ) \log \left (e+f x^2\right )}{8 e^2}+\frac {f^2 m \left (a+b \log \left (c x^n\right )\right ) \log \left (e+f x^2\right )}{4 e^2}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{16 x^4}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 x^4}-\frac {b f^2 m n \text {Li}_2\left (1+\frac {f x^2}{e}\right )}{8 e^2} \]

[Out]

-3/16*b*f*m*n/e/x^2-1/8*b*f^2*m*n*ln(x)/e^2+1/4*b*f^2*m*n*ln(x)^2/e^2-1/4*f*m*(a+b*ln(c*x^n))/e/x^2-1/2*f^2*m*
ln(x)*(a+b*ln(c*x^n))/e^2+1/16*b*f^2*m*n*ln(f*x^2+e)/e^2-1/8*b*f^2*m*n*ln(-f*x^2/e)*ln(f*x^2+e)/e^2+1/4*f^2*m*
(a+b*ln(c*x^n))*ln(f*x^2+e)/e^2-1/16*b*n*ln(d*(f*x^2+e)^m)/x^4-1/4*(a+b*ln(c*x^n))*ln(d*(f*x^2+e)^m)/x^4-1/8*b
*f^2*m*n*polylog(2,1+f*x^2/e)/e^2

________________________________________________________________________________________

Rubi [A]
time = 0.15, antiderivative size = 248, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 7, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.269, Rules used = {2504, 2442, 46, 2423, 2338, 2441, 2352} \begin {gather*} -\frac {b f^2 m n \text {PolyLog}\left (2,\frac {f x^2}{e}+1\right )}{8 e^2}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 x^4}-\frac {f^2 m \log (x) \left (a+b \log \left (c x^n\right )\right )}{2 e^2}+\frac {f^2 m \log \left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right )}{4 e^2}-\frac {f m \left (a+b \log \left (c x^n\right )\right )}{4 e x^2}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{16 x^4}+\frac {b f^2 m n \log \left (e+f x^2\right )}{16 e^2}-\frac {b f^2 m n \log \left (-\frac {f x^2}{e}\right ) \log \left (e+f x^2\right )}{8 e^2}+\frac {b f^2 m n \log ^2(x)}{4 e^2}-\frac {b f^2 m n \log (x)}{8 e^2}-\frac {3 b f m n}{16 e x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((a + b*Log[c*x^n])*Log[d*(e + f*x^2)^m])/x^5,x]

[Out]

(-3*b*f*m*n)/(16*e*x^2) - (b*f^2*m*n*Log[x])/(8*e^2) + (b*f^2*m*n*Log[x]^2)/(4*e^2) - (f*m*(a + b*Log[c*x^n]))
/(4*e*x^2) - (f^2*m*Log[x]*(a + b*Log[c*x^n]))/(2*e^2) + (b*f^2*m*n*Log[e + f*x^2])/(16*e^2) - (b*f^2*m*n*Log[
-((f*x^2)/e)]*Log[e + f*x^2])/(8*e^2) + (f^2*m*(a + b*Log[c*x^n])*Log[e + f*x^2])/(4*e^2) - (b*n*Log[d*(e + f*
x^2)^m])/(16*x^4) - ((a + b*Log[c*x^n])*Log[d*(e + f*x^2)^m])/(4*x^4) - (b*f^2*m*n*PolyLog[2, 1 + (f*x^2)/e])/
(8*e^2)

Rule 46

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d*x
)^n, x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && ILtQ[m, 0] && IntegerQ[n] &&  !(IGtQ[n, 0] && Lt
Q[m + n + 2, 0])

Rule 2338

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))/(x_), x_Symbol] :> Simp[(a + b*Log[c*x^n])^2/(2*b*n), x] /; FreeQ[{a
, b, c, n}, x]

Rule 2352

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[(-e^(-1))*PolyLog[2, 1 - c*x], x] /; FreeQ[{c, d, e
}, x] && EqQ[e + c*d, 0]

Rule 2423

Int[Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))^(r_.)]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((g_.)*(x_))^(q_.), x_Sym
bol] :> With[{u = IntHide[(g*x)^q*Log[d*(e + f*x^m)^r], x]}, Dist[a + b*Log[c*x^n], u, x] - Dist[b*n, Int[Dist
[1/x, u, x], x], x]] /; FreeQ[{a, b, c, d, e, f, g, r, m, n, q}, x] && (IntegerQ[(q + 1)/m] || (RationalQ[m] &
& RationalQ[q])) && NeQ[q, -1]

Rule 2441

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[Log[e*((f + g
*x)/(e*f - d*g))]*((a + b*Log[c*(d + e*x)^n])/g), x] - Dist[b*e*(n/g), Int[Log[(e*(f + g*x))/(e*f - d*g)]/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && NeQ[e*f - d*g, 0]

Rule 2442

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Simp[(f + g*
x)^(q + 1)*((a + b*Log[c*(d + e*x)^n])/(g*(q + 1))), x] - Dist[b*e*(n/(g*(q + 1))), Int[(f + g*x)^(q + 1)/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*f - d*g, 0] && NeQ[q, -1]

Rule 2504

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{x^5} \, dx &=-\frac {f m \left (a+b \log \left (c x^n\right )\right )}{4 e x^2}-\frac {f^2 m \log (x) \left (a+b \log \left (c x^n\right )\right )}{2 e^2}+\frac {f^2 m \left (a+b \log \left (c x^n\right )\right ) \log \left (e+f x^2\right )}{4 e^2}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 x^4}-(b n) \int \left (-\frac {f m}{4 e x^3}-\frac {f^2 m \log (x)}{2 e^2 x}+\frac {f^2 m \log \left (e+f x^2\right )}{4 e^2 x}-\frac {\log \left (d \left (e+f x^2\right )^m\right )}{4 x^5}\right ) \, dx\\ &=-\frac {b f m n}{8 e x^2}-\frac {f m \left (a+b \log \left (c x^n\right )\right )}{4 e x^2}-\frac {f^2 m \log (x) \left (a+b \log \left (c x^n\right )\right )}{2 e^2}+\frac {f^2 m \left (a+b \log \left (c x^n\right )\right ) \log \left (e+f x^2\right )}{4 e^2}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 x^4}+\frac {1}{4} (b n) \int \frac {\log \left (d \left (e+f x^2\right )^m\right )}{x^5} \, dx-\frac {\left (b f^2 m n\right ) \int \frac {\log \left (e+f x^2\right )}{x} \, dx}{4 e^2}+\frac {\left (b f^2 m n\right ) \int \frac {\log (x)}{x} \, dx}{2 e^2}\\ &=-\frac {b f m n}{8 e x^2}+\frac {b f^2 m n \log ^2(x)}{4 e^2}-\frac {f m \left (a+b \log \left (c x^n\right )\right )}{4 e x^2}-\frac {f^2 m \log (x) \left (a+b \log \left (c x^n\right )\right )}{2 e^2}+\frac {f^2 m \left (a+b \log \left (c x^n\right )\right ) \log \left (e+f x^2\right )}{4 e^2}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 x^4}+\frac {1}{8} (b n) \text {Subst}\left (\int \frac {\log \left (d (e+f x)^m\right )}{x^3} \, dx,x,x^2\right )-\frac {\left (b f^2 m n\right ) \text {Subst}\left (\int \frac {\log (e+f x)}{x} \, dx,x,x^2\right )}{8 e^2}\\ &=-\frac {b f m n}{8 e x^2}+\frac {b f^2 m n \log ^2(x)}{4 e^2}-\frac {f m \left (a+b \log \left (c x^n\right )\right )}{4 e x^2}-\frac {f^2 m \log (x) \left (a+b \log \left (c x^n\right )\right )}{2 e^2}-\frac {b f^2 m n \log \left (-\frac {f x^2}{e}\right ) \log \left (e+f x^2\right )}{8 e^2}+\frac {f^2 m \left (a+b \log \left (c x^n\right )\right ) \log \left (e+f x^2\right )}{4 e^2}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{16 x^4}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 x^4}+\frac {1}{16} (b f m n) \text {Subst}\left (\int \frac {1}{x^2 (e+f x)} \, dx,x,x^2\right )+\frac {\left (b f^3 m n\right ) \text {Subst}\left (\int \frac {\log \left (-\frac {f x}{e}\right )}{e+f x} \, dx,x,x^2\right )}{8 e^2}\\ &=-\frac {b f m n}{8 e x^2}+\frac {b f^2 m n \log ^2(x)}{4 e^2}-\frac {f m \left (a+b \log \left (c x^n\right )\right )}{4 e x^2}-\frac {f^2 m \log (x) \left (a+b \log \left (c x^n\right )\right )}{2 e^2}-\frac {b f^2 m n \log \left (-\frac {f x^2}{e}\right ) \log \left (e+f x^2\right )}{8 e^2}+\frac {f^2 m \left (a+b \log \left (c x^n\right )\right ) \log \left (e+f x^2\right )}{4 e^2}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{16 x^4}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 x^4}-\frac {b f^2 m n \text {Li}_2\left (1+\frac {f x^2}{e}\right )}{8 e^2}+\frac {1}{16} (b f m n) \text {Subst}\left (\int \left (\frac {1}{e x^2}-\frac {f}{e^2 x}+\frac {f^2}{e^2 (e+f x)}\right ) \, dx,x,x^2\right )\\ &=-\frac {3 b f m n}{16 e x^2}-\frac {b f^2 m n \log (x)}{8 e^2}+\frac {b f^2 m n \log ^2(x)}{4 e^2}-\frac {f m \left (a+b \log \left (c x^n\right )\right )}{4 e x^2}-\frac {f^2 m \log (x) \left (a+b \log \left (c x^n\right )\right )}{2 e^2}+\frac {b f^2 m n \log \left (e+f x^2\right )}{16 e^2}-\frac {b f^2 m n \log \left (-\frac {f x^2}{e}\right ) \log \left (e+f x^2\right )}{8 e^2}+\frac {f^2 m \left (a+b \log \left (c x^n\right )\right ) \log \left (e+f x^2\right )}{4 e^2}-\frac {b n \log \left (d \left (e+f x^2\right )^m\right )}{16 x^4}-\frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 x^4}-\frac {b f^2 m n \text {Li}_2\left (1+\frac {f x^2}{e}\right )}{8 e^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 0.09, size = 363, normalized size = 1.46 \begin {gather*} -\frac {4 a e f m x^2+3 b e f m n x^2+8 a f^2 m x^4 \log (x)+2 b f^2 m n x^4 \log (x)-4 b f^2 m n x^4 \log ^2(x)+4 b e f m x^2 \log \left (c x^n\right )+8 b f^2 m x^4 \log (x) \log \left (c x^n\right )-4 b f^2 m n x^4 \log (x) \log \left (1-\frac {i \sqrt {f} x}{\sqrt {e}}\right )-4 b f^2 m n x^4 \log (x) \log \left (1+\frac {i \sqrt {f} x}{\sqrt {e}}\right )-4 a f^2 m x^4 \log \left (e+f x^2\right )-b f^2 m n x^4 \log \left (e+f x^2\right )+4 b f^2 m n x^4 \log (x) \log \left (e+f x^2\right )-4 b f^2 m x^4 \log \left (c x^n\right ) \log \left (e+f x^2\right )+4 a e^2 \log \left (d \left (e+f x^2\right )^m\right )+b e^2 n \log \left (d \left (e+f x^2\right )^m\right )+4 b e^2 \log \left (c x^n\right ) \log \left (d \left (e+f x^2\right )^m\right )-4 b f^2 m n x^4 \text {Li}_2\left (-\frac {i \sqrt {f} x}{\sqrt {e}}\right )-4 b f^2 m n x^4 \text {Li}_2\left (\frac {i \sqrt {f} x}{\sqrt {e}}\right )}{16 e^2 x^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((a + b*Log[c*x^n])*Log[d*(e + f*x^2)^m])/x^5,x]

[Out]

-1/16*(4*a*e*f*m*x^2 + 3*b*e*f*m*n*x^2 + 8*a*f^2*m*x^4*Log[x] + 2*b*f^2*m*n*x^4*Log[x] - 4*b*f^2*m*n*x^4*Log[x
]^2 + 4*b*e*f*m*x^2*Log[c*x^n] + 8*b*f^2*m*x^4*Log[x]*Log[c*x^n] - 4*b*f^2*m*n*x^4*Log[x]*Log[1 - (I*Sqrt[f]*x
)/Sqrt[e]] - 4*b*f^2*m*n*x^4*Log[x]*Log[1 + (I*Sqrt[f]*x)/Sqrt[e]] - 4*a*f^2*m*x^4*Log[e + f*x^2] - b*f^2*m*n*
x^4*Log[e + f*x^2] + 4*b*f^2*m*n*x^4*Log[x]*Log[e + f*x^2] - 4*b*f^2*m*x^4*Log[c*x^n]*Log[e + f*x^2] + 4*a*e^2
*Log[d*(e + f*x^2)^m] + b*e^2*n*Log[d*(e + f*x^2)^m] + 4*b*e^2*Log[c*x^n]*Log[d*(e + f*x^2)^m] - 4*b*f^2*m*n*x
^4*PolyLog[2, ((-I)*Sqrt[f]*x)/Sqrt[e]] - 4*b*f^2*m*n*x^4*PolyLog[2, (I*Sqrt[f]*x)/Sqrt[e]])/(e^2*x^4)

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 4.
time = 0.34, size = 2313, normalized size = 9.33

method result size
risch \(\text {Expression too large to display}\) \(2313\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*x^n))*ln(d*(f*x^2+e)^m)/x^5,x,method=_RETURNVERBOSE)

[Out]

(-1/4*b/x^4*ln(x^n)-1/16*(-2*I*b*Pi*csgn(I*c)*csgn(I*x^n)*csgn(I*c*x^n)+2*I*b*Pi*csgn(I*c)*csgn(I*c*x^n)^2+2*I
*b*Pi*csgn(I*x^n)*csgn(I*c*x^n)^2-2*I*b*Pi*csgn(I*c*x^n)^3+4*b*ln(c)+b*n+4*a)/x^4)*ln((f*x^2+e)^m)+1/4/e^2*f^2
*m*ln(f*x^2+e)*b*ln(c)-1/8*b*f^2*m*n*ln(x)/e^2+1/4*b*f^2*m*n*ln(x)^2/e^2-1/16*Pi^2*csgn(I*d)*csgn(I*d*(f*x^2+e
)^m)^2/x^4*b*csgn(I*c*x^n)^3-1/16*Pi^2*csgn(I*(f*x^2+e)^m)*csgn(I*d*(f*x^2+e)^m)^2/x^4*b*csgn(I*c*x^n)^3-1/4/e
*f*m/x^2*b*ln(c)+1/16*b*f^2*m*n*ln(f*x^2+e)/e^2-1/4/x^4*ln(d)*a+1/16*Pi^2*csgn(I*d)*csgn(I*d*(f*x^2+e)^m)^2/x^
4*b*csgn(I*c)*csgn(I*c*x^n)^2+1/4/e^2*f^2*m*ln(f*x^2+e)*a+1/16*Pi^2*csgn(I*d)*csgn(I*d*(f*x^2+e)^m)^2/x^4*b*cs
gn(I*x^n)*csgn(I*c*x^n)^2+1/16*Pi^2*csgn(I*(f*x^2+e)^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e*m*f/x^2*b*Pi*csgn(I*c*x^n)^3+1/8*I/x^4*Pi*a*csgn(I*d)*csgn(I*(f*x^2+e)^m)*csgn(I*d*(f*x^2+e)^m)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))*log(d*(f*x^2+e)^m)/x^5,x, algorithm="maxima")

[Out]

-1/16*(4*b*m*log(x^n) + (m*n + 4*m*log(c))*b + 4*a*m)*log(f*x^2 + e)/x^4 + integrate(1/8*((4*(f*m + 2*f*log(d)
)*a + (f*m*n + 4*(f*m + 2*f*log(d))*log(c))*b)*x^2 + 8*(b*log(c)*log(d) + a*log(d))*e + 4*((f*m + 2*f*log(d))*
b*x^2 + 2*b*e*log(d))*log(x^n))/(f*x^7 + x^5*e), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))*log(d*(f*x^2+e)^m)/x^5,x, algorithm="fricas")

[Out]

integral((b*log(c*x^n) + a)*log((f*x^2 + e)^m*d)/x^5, x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*x**n))*ln(d*(f*x**2+e)**m)/x**5,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))*log(d*(f*x^2+e)^m)/x^5,x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)*log((f*x^2 + e)^m*d)/x^5, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\ln \left (d\,{\left (f\,x^2+e\right )}^m\right )\,\left (a+b\,\ln \left (c\,x^n\right )\right )}{x^5} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((log(d*(e + f*x^2)^m)*(a + b*log(c*x^n)))/x^5,x)

[Out]

int((log(d*(e + f*x^2)^m)*(a + b*log(c*x^n)))/x^5, x)

________________________________________________________________________________________